package com.yueyang.sojourn.server.service.sojourn.collect;

import com.yueyang.sojourn.server.model.po.SojournMerchCollect;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SojournMerchCollectMapper {
    long countByExample(SojournMerchCollectExample example);

    int deleteByExample(SojournMerchCollectExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SojournMerchCollect record);

    int insertSelective(SojournMerchCollect record);

    List<SojournMerchCollect> selectByExample(SojournMerchCollectExample example);

    SojournMerchCollect selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SojournMerchCollect record, @Param("example") SojournMerchCollectExample example);

    int updateByExample(@Param("record") SojournMerchCollect record, @Param("example") SojournMerchCollectExample example);

    int updateByPrimaryKeySelective(SojournMerchCollect record);

    int updateByPrimaryKey(SojournMerchCollect record);
}
